#ifndef __CLIENT_H_______________________________________________________________________________________________________________________________________________
#define __CLIENT_H_______________________________________________________________________________________________________________________________________________

#include <vector>
#include <string>
#include <boost/asio.hpp>

#include "feed.h"

using boost::asio::ip::tcp;

class Client
{
public:
	Client();
	Client(std::string pwd, std::string log, std::string addr, int port);
	~Client();
	void addRssFeed(std::string, std::string);
	void loadSavedFeeds();
	void removeRssFeed();
	void refresh();
	void sendRequest(tcp::socket &socket, std::string serv, std::string page);

private:
	std::vector<feed *>	feedList;
	std::string password;
	std::string login;
	std::string proxyAddr;
	int			proxyPort;
	bool		proxy;
};

#endif